package com.tanhua.dubbo.api;

import com.tanhua.dubbo.pojo.Audio;
import com.tanhua.dubbo.vo.AudioVo;

public interface TaoHuaApi {

    /**
     * 保存语音：saveVoice
     * 保存语音,返回语音id
     *
     * @param audio
     * @return
     */
    String saveAudio(Audio audio);

    /**
     * 发送语音
     *
     * @param userId
     * @return
     */
    AudioVo getAudio(Long userId);
}